from common.base import Base


"""商品首页"""


url="http://ecshop.itsoso.cn/index.php"
class Home_page(Base):
    """制作定位器"""

    rossini_watch_loc=(
        "css selector","body > div.index-body > div > div > div:nth-child(2) >div.goods-right > div > a:nth-child(3) > div.gos-title") #罗西尼(ROSSINI)手表雅尊商务系列时尚腕表


    def click_goods(self):
        """选择商品"""
        self.click(self.rossini_watch_loc)

